'''
Created on 2009-02-27

@author: belleyma
'''
import unittest
import sys
sys.path.append("D:\MyWorks\python\BatchFileManager\src")

from bfr.util.FileClass import *

class Test(unittest.TestCase):

    def testRechercher():
        lst = FileList.ListDir("D:\MyWorks", True)
        for x in lst:
            print (x)
        pass

    def testRechercherFichier():
        lst = FileList.ListFiles("D:\MyWorks", True, "*.py")
        for x in lst:
            print (x)
        pass

    if __name__ == "__main__":
        #import sys;sys.argv = ['', 'Test.testName']
        #testRechercher()
        testRechercherFichier()
        unittest.main()